﻿<%@ Page Language="C#" MasterPageFile="~/Manager/MasterPage/PageTemplate.Master"
    AutoEventWireup="true" CodeBehind="InventorySeach.aspx.cs" Inherits="FrameWork.web.Module.FrameWork.UserManager.InventorySeach" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <link rel="stylesheet" type="text/css" href="<%=Page.ResolveUrl("~/") %>Manager/inc/FineMessBox/css/subModal.css" />
    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>Manager/inc/FineMessBox/js/common.js"></script>
    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>Manager/inc/FineMessBox/js/subModal.js"></script>
    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
        ButtonList-Capacity="4" HeadOPTxt="库存查询列表" HeadTitleTxt="库存查询" HeadHelpTxt="">
    </FrameWorkWebControls:HeadMenuWebControls>
    <FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="查询">
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                <tr>
                    <td class="table_body table_body_NoWidth" style="width: 13%">
                        货主
                    </td>
                    <td class="table_none table_none_NoWidth" style="width: 20%">
                        <asp:DropDownList ID="ddlCustom" runat="server" Width="180px">
                        </asp:DropDownList>
                    </td>
                    <td class="table_body table_body_NoWidth" style="width: 13%">
                        仓库
                    </td>
                    <td class="table_none table_none_NoWidth" style="width: 20%">
                        <asp:DropDownList ID="ddlStorages" runat="server" Width="80%">
                        </asp:DropDownList>
                    </td>
                    <td class="table_body table_body_NoWidth" style="width: 13%">
                        料号
                    </td>
                    <td class="table_none table_none_NoWidth" style="width: 20%">
                        <asp:TextBox ID="txtSku" runat="server" class="text_input"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_body table_body_NoWidth" style="width: 13%;">
                        &nbsp;</td>
                    <td class="table_none table_none_NoWidth" style="width: 20%;">
                    <asp:CheckBox ID="rbtnLot" runat="server" Text="分批次查询"/>
                    </td>
                    <td class="table_body table_body_NoWidth" style="width: 13%;">
                        &nbsp;</td>
                    <td class="table_none table_none_NoWidth" style="width: 20%;">
                        &nbsp;</td>
                    <td class="table_body table_body_NoWidth" style="width: 13%;">
                    </td>
                    <td class="table_none table_none_NoWidth" style="width: 20%;">
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="6">
                        <asp:Label ID="labHeadText" runat="server" Visible="False"></asp:Label>
                        <asp:Button ID="Button1" runat="server" CssClass="button_bak" OnClick="Button1_Click"
                            Text="查询" />
                    </td>
                </tr>
            </table>
        </FrameWorkWebControls:TabOptionItem>
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="库存查询">
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
                <Columns>
                    <asp:BoundField DataField="customer" HeaderText="客户" />
                    <asp:BoundField DataField="sku" HeaderText="产品" />
                    <asp:BoundField DataField="chnname" HeaderText="中文描述" />
                    <asp:BoundField DataField="packetunit" HeaderText="单位" />
                    <asp:BoundField DataField="loc" HeaderText="库位" />
                    <asp:BoundField DataField="qty" HeaderText="数量" DataFormatString={0:N2}/>
                    <asp:BoundField DataField="qtyallocated" HeaderText="分配数量" DataFormatString={0:N2}/>
                    <asp:BoundField DataField="qtycanuser" HeaderText="可用数量" DataFormatString={0:N2}/>
                    <asp:BoundField DataField="QtyOnHold" HeaderText="冻结数量" DataFormatString={0:N2}/>
                    <asp:BoundField DataField="qtymin" HeaderText="库存下限" />
                    <asp:BoundField DataField="qtymax" HeaderText="库存上限" />
                    <asp:BoundField HeaderText="lotatt01" DataField="lotatt01"/>
                    <asp:BoundField HeaderText="lotatt02" DataField="lotatt02"/>
                    <asp:BoundField HeaderText="lotatt03" DataField="lotatt03"/>
                    <asp:BoundField HeaderText="lotatt04" DataField="lotatt04"/>
                    <asp:BoundField HeaderText="lotatt05" DataField="lotatt05"/>
                    <asp:BoundField HeaderText="lotatt06" DataField="lotatt06"/>
                    <asp:BoundField HeaderText="lotatt07" DataField="lotatt07"/>
                    <asp:BoundField HeaderText="lotatt08" DataField="lotatt08"/>
                    <asp:BoundField HeaderText="lotatt09" DataField="lotatt09"/>
                    <asp:BoundField HeaderText="lotatt10" DataField="lotatt10"/>
                    <asp:BoundField HeaderText="lotatt11" DataField="lotatt11"/>
                    <asp:BoundField HeaderText="lotatt12" DataField="lotatt12"/>
                </Columns>
            </asp:GridView>
            <FrameWorkWebControls:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
            </FrameWorkWebControls:AspNetPager>
            <table style="width: 100%">
                <tr>
                    <td align="right">
                        <asp:LinkButton ID="lbtnExport_Click" runat="server" OnClick="btnExport_Click">导出结果</asp:LinkButton>
                    </td>
                </tr>
            </table>
        </FrameWorkWebControls:TabOptionItem>
    </FrameWorkWebControls:TabOptionWebControls>
</asp:Content>
